import axios from './axios'

// 用户名密码验证模式
export function normalLogin(data) {
  return axios({
    method: 'POST',
    url: '/api/common/auth/login',
    data
  })
}

// 图形验证码校验
export function captchaVerify(data) {
  return axios({
    method: 'POST',
    url: '/api/common/captcha/verify',
    data
  })
}

// 短信验证码下发
export function smsSend(data) {
  return axios({
    method: 'POST',
    url: '/api/common/sms/send',
    data
  })
}